import React, { useContext } from 'react';
import { MathContext } from './reducer';
function ShowNum() {
  const { value } = useContext(MathContext);
  return <p>现在数据是{value}</p>;
}
export default ShowNum;
